package com.lindroy.androidplayer.ui.adapter

import androidx.fragment.app.Fragment
import com.lindroy.androidplayer.base.adapter.BaseTabAdapter
import com.lindroy.androidplayer.ui.knowledge.KnowledgeArticleFragment

/**
 * @author Lin
 * @date 2022/1/24
 * @function
 */
class KnowledgeTabAdapter(fragment: Fragment) : BaseTabAdapter<Int>(fragment) {
    override fun createItemFragment(item: Int): Fragment =
        KnowledgeArticleFragment.newInstance(item)
}